local db = TUNING.MOD_AVATAR_BH_MOBIUS.badge.bh_mobius_energy

---@type data_badge[]
local data = {
    {
        animzipname = 'badge_bh_mobius_energy',
        meter_color = {194/255,250/255,42/255,1},
        meter_maxnum = db.max,
        badgeid = 'badge_bh_mobius_energy',
        pos = {-125,35},
        eventname = 'bh_mobius_energy_val_change',
        eventfn = function(badge,owner)
            if owner and owner.replica.bh_mobius_energy then
                local val = owner.replica.bh_mobius_energy:GetVal() or 0
                badge:SetPercent(val,db.max)
            end
        end,
        owners = {"bh_mobius"},
        nobackgroud = true,
    },
}


return data